package com.divineryang.service;

import org.divineryang.model.entity.h5.CartInfo;

import java.util.List;

/**
 * @author Diviner Yang
 * @version V1.0
 * @Package com.divineryang.service
 * @date 2024/5/5 14:01
 */
public interface CartService {
    void addToCart(Long skuId, Integer skuNum);

    List<CartInfo> getCartList();

    void deleteCart(Long skuId);

    void checkCart(Long skuId, Integer isChecked);

    void allCheckCart(Integer isChecked);

    void clearCart();

    List<CartInfo> getAllCkecked();

    void deleteChecked();
}
